package cn.kxm.dao;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.kxm.pojo.InstroageBill;

public interface InstroageBillMapper {
    public int findInstroageBillCount();
    public List<InstroageBill> getInstroageBillList(@Param("currPage")Integer currPage,
    		                                        @Param("size")Integer size,
    		                                        @Param("findcode") String findcode,
    		                                        @Param("findstartDate") Date findstartDate,
    		                                        @Param("findendDate") Date findendDate,
    		                                        @Param("findsupplierName") String findsupplierName);
    public int addInstroageBill(InstroageBill inBill);
    public InstroageBill getInstroageBillByCode(String code);
    public int updateInstroageBill(InstroageBill inBill);
    public int delInstroageBillCode(String code);
    public int delInstroageBillByArray(String[] codelist);
    public int updateInstroageBillCheckStatus(@Param("code")String code,@Param("statusNum")Integer statusNum);
}
